package com.yuliang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuliang.domain.R;
import com.yuliang.domain.entity.Menu;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-10-07 09:49:57
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    R getRouters(Long id);

    R menuList(String status, String menuName);

    R addMenu(Menu menu);

    R getMenuDetail(Long id);

    R updateMenu(Menu menu);

    R deleteMenu(Long menuId);

    R treeSelect();

    R roleMenuTreeselect(Long id);


//    List<Menu> selectRouterMenuTreeByUserId(Long userId);
}

